package com.xxxx.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.xxxx.blog.entity.Comment;

public interface CommentService extends IService<Comment> {

    int create(Comment comment);

    int delete(Integer id);

    int update(Comment comment);

    PageInfo<Comment> query(Comment comment);

    Comment detail(Integer id);

    int count(Comment comment);
}
